<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>取余运算符</title>
</head>
<body>
        <script>
            var a=10;
            var b=8;
            console.log(a%b)
        </script>
</body>
</html>